<!-- 超出宽度隐藏 -->
<template>
  <view>
    <slot></slot>
  </view>
</template>

<style lang="scss"
       scoped>
  view {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
</style>
